package com.woniuxy.commons.entity.purchaseManager;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.woniuxy.commons.entity.purchaseManager.base.PurchaseBaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 采购单商品表
 * 
 * @author huangzhichao
 * @email 1205560871@gmail.com
 * @date 2022-04-19 13:00:28
 */
@Data
@TableName("purchase_order_goods")
public class PurchaseOrderGoodsEntity extends PurchaseBaseEntity {
	private static final long serialVersionUID = 1L;


	/**
	 * 采购单商品id，自增
	 */
	@TableId(type = IdType.AUTO)
	private Integer purchaseOrderGoodsId;
	/**
	 * 产品id
	 */
	@TableField("product_id")
	private String productId;
	/**
	 * 采购单id
	 */
	@TableField("purchase_order_id")
	private Integer purchaseOrderId;

	/**
	 * 克重开始
	 */
	@TableField("weight_start")
	private Double weightStart;

	/**
	 * 克重结束
	 */
	@TableField("weight_end")
	private Double weightEnd;

	/**
	 * 采购数量
	 */
	@TableField("pur_nums")
	private Integer purNums;
	/**
	 * 采购重量
	 */
	@TableField("pur_weight")
	private Integer purWeight;
	/**
	 * 成色
	 */
	@TableField("condition_")
	private Integer condition;
	/**
	 * 来货重量
	 */
	@TableField("cargo_weight")
	private Integer cargoWeight;
	/**
	 * 来货数量
	 */
	@TableField("cargo_nums")
	private Integer cargoNums;
	/**
	 * 状态
	 */
	@TableField("purchase_order_goods_status")
	private Integer purchaseOrderGoodsStatus;
}
